package com.shudes.game;

import java.util.*;

public class BestHand extends CardCollection {
	
	private final int FIVE = 5;
	
	public BestHand(Collection<Card> cards) {
		super(cards);
		if(getCards().size()!=FIVE) 
			throw new RuntimeException("BestHand must have " + FIVE + " cards."); 
	}

	public BestHand(CardCollection cc) {
		super(cc);
		if(getCards().size()!=FIVE) 
			throw new RuntimeException("BestHand must have " + FIVE + " cards."); 
	}

}
